rem Update CATALINA_HOME to a valid Tomcat directory

set JAVA_HOME=D:\Server\jdk1.5.0_09
set CATALINA_HOME=D:\Server\apache-tomcat-5.5.20


if "%JAVA_HOME%" == "" set JAVA_HOME=D:\programs\jdk1.5.0_07

if "%CATALINA_HOME%" == "" set CATALINA_HOME=D:\programs\apache-tomcat-5.5.17

set CATALINA_BASE=%~dp0.

%CATALINA_HOME%\bin\catalina start